/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package de.editura.oxygen.severin.imageviewer.features;

import ro.sync.ecss.extensions.api.AttributeChangedEvent;
import ro.sync.ecss.extensions.api.AuthorCaretEvent;
import ro.sync.ecss.extensions.api.AuthorCaretListener;
import ro.sync.ecss.extensions.api.AuthorListener;
import ro.sync.ecss.extensions.api.DocumentContentDeletedEvent;
import ro.sync.ecss.extensions.api.DocumentContentInsertedEvent;
import ro.sync.ecss.extensions.api.node.AuthorDocument;
import ro.sync.ecss.extensions.api.node.AuthorNode;
import ro.sync.exml.workspace.api.standalone.StandalonePluginWorkspace;

/**
 *
 * @author kschmidtner
 */
public class AutoImageShowAuthorListener implements AuthorListener  {

    StandalonePluginWorkspace pluginWorkspaceAccess = null;

    public AutoImageShowAuthorListener(StandalonePluginWorkspace pluginWorkspaceAccess) {
        this.pluginWorkspaceAccess = pluginWorkspaceAccess;

    }

    public void beforeContentDelete(DocumentContentDeletedEvent dcde) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void beforeAttributeChange(AttributeChangedEvent ace) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void beforeContentInsert(DocumentContentInsertedEvent dcie) {
        pluginWorkspaceAccess.showInformationMessage("Das ist beforeContentInsert");
    }

    public void beforeDoctypeChange() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void beforeAuthorNodeStructureChange(AuthorNode an) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void beforeAuthorNodeNameChange(AuthorNode an) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void attributeChanged(AttributeChangedEvent ace) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void authorNodeNameChanged(AuthorNode an) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void authorNodeStructureChanged(AuthorNode an) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public void documentChanged(AuthorDocument ad, AuthorDocument ad1) {
        pluginWorkspaceAccess.showInformationMessage("Das ist documentChanged");
    }

    public void contentDeleted(DocumentContentDeletedEvent dcde) {
        pluginWorkspaceAccess.showInformationMessage("Das ist ContentDeleted");
    }

    public void contentInserted(DocumentContentInsertedEvent dcie) {
        pluginWorkspaceAccess.showInformationMessage("Das ist ContentInserted");
    }

    public void doctypeChanged() {
        throw new UnsupportedOperationException("Not supported yet.");
    }


}
